package study.javaee.practice.property;

import lombok.Data;
import lombok.Getter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Data
@Component
@ConfigurationProperties("security")
public class SecurityProperty {
    private String pubKey;
    private String priKey;
    // 保存对称密钥的键
    private String symKeyAttrName;
    // 保存非对称密钥的键
    private String asymKeyAttrName;
    // 盐
    private String salt;
}
